package com.aliyun.heiyu.powermaster.server.dao;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

public interface DeviceSpecDao {
    List<Map<String, String>> findAll();

    Map<String, String> findOne(String deviceId);

    boolean insert(Map<String, String> map) throws SQLException;

    boolean update(Map<String, String> map) throws SQLException;

    boolean delete(String deviceId) throws SQLException;

    boolean delete(String[] sns) throws SQLException;
}
